home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / page763.pag < prev    next >
Portable Network Graphic  |  2008-10-02  |  73KB  |  817x1045  |  8-bit (256 colors)
Labels: chat room | hakham | monitor | plant | road | sky | stairs | web site | windowpane
OCR: COMPUTER PROGRAMMING 695 SEOUENCE SELECTION, AND REPETITION CONTROLS How specify the order in which program instructions are performed by the computer? Unless you specify otherwise sequential execution is the normal pattern program execution During sequential execution, the first instruction in the program c executed first then the second instruction, and so on to the last instruction in the program. Here IS simple program written in the BASIC programming language that outputs This the first line and then outputs This is the next line Print "This the first line Print "Th the next ine Is there an alternative to sequential execution? Some algorithms specify that program must execute instructions in an order different from the sequence in which they are listed, skip some instructions under ce ...